
import React, { Component } from 'react';
import {withCopyRight} from "./hoc";
import Hoc from "./hoc"

 class News extends Component {
  render() {
    return (
      <div>
        <h1>高阶组件</h1>
        <div>蔡徐坤干坏事了，被人发现了</div>
        {/* <Hoc></Hoc> */}
        <div>蔡徐坤干坏事了，被人发现了</div>
      </div>
    )
  }
}

// export default News;
export default withCopyRight(News);